/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package diet.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author DungTT
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "foodID",
    "dishID",
    "dishName",
    "imageURL",
    "calories",
    "ammount",
    "essential",
    "foodName",
    "dishDetailID"})
public class DishDetailDTO implements java.io.Serializable {

    private int dishDetailID;
    private int dishID;
    private int foodID;
    private float ammount;
    private boolean essential;

    private String dishName;
    private String imageURL;
    private int calories;
    private String foodName;

    public DishDetailDTO() {
    }

    public DishDetailDTO(int dishDetailID, int dishID, int foodID, float ammount, boolean essential, String dishName, String imageURL, int calories, String foodName) {
        this.dishDetailID = dishDetailID;
        this.dishID = dishID;
        this.foodID = foodID;
        this.ammount = ammount;
        this.essential = essential;
        this.dishName = dishName;
        this.imageURL = imageURL;
        this.calories = calories;
        this.foodName = foodName;
    }


    public DishDetailDTO(int dishDetailID, int dishID, int foodID, float ammount, boolean essential) {
        this.dishDetailID = dishDetailID;
        this.dishID = dishID;
        this.foodID = foodID;
        this.ammount = ammount;
        this.essential = essential;
    }

    /**
     * @return the dishDetailID
     */
    public int getDishDetailID() {
        return dishDetailID;
    }

    /**
     * @param dishDetailID the dishDetailID to set
     */
    public void setDishDetailID(int dishDetailID) {
        this.dishDetailID = dishDetailID;
    }

    /**
     * @return the dishID
     */
    public int getDishID() {
        return dishID;
    }

    /**
     * @param dishID the dishID to set
     */
    public void setDishID(int dishID) {
        this.dishID = dishID;
    }

    /**
     * @return the foodID
     */
    public int getFoodID() {
        return foodID;
    }

    /**
     * @param foodID the foodID to set
     */
    public void setFoodID(int foodID) {
        this.foodID = foodID;
    }

    /**
     * @return the ammount
     */
    public float getAmmount() {
        return ammount;
    }

    /**
     * @param ammount the ammount to set
     */
    public void setAmmount(float ammount) {
        this.ammount = ammount;
    }

    /**
     * @return the essential
     */
    public boolean isEssential() {
        return essential;
    }

    /**
     * @param essential the essential to set
     */
    public void setEssential(boolean essential) {
        this.essential = essential;
    }

    /**
     * @return the foodName
     */
    public String getDishName() {
        return dishName;
    }

    /**
     * @param foodName the foodName to set
     */
    public void setDishName(String foodName) {
        this.dishName = foodName;
    }

    /**
     * @return the imageURL
     */
    public String getImageURL() {
        return imageURL;
    }

    /**
     * @param imageURL the imageURL to set
     */
    public void setImageURL(String imageURL) {
        this.imageURL = imageURL;
    }

    /**
     * @return the calories
     */
    public int getCalories() {
        return calories;
    }

    /**
     * @param calories the calories to set
     */
    public void setCalories(int calories) {
        this.calories = calories;
    }

    /**
     * @return the foodName
     */
    public String getFoodName() {
        return foodName;
    }

    /**
     * @param foodName the foodName to set
     */
    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }


}
